package it.fantaski.fantaskirss;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class FantaskiRssHome extends Activity {
	    //private static final String FEED_URI = "http://feeds.nytimes.com/nyt/rss/HomePage";
		private static final String FEED_URI = "http://www.fantaski.it/feed/fantaskinews.asp";

	    @Override
	    protected void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.home);
	        
	         final Button button = (Button) findViewById(R.id.button1);
	         button.setOnClickListener(new View.OnClickListener() {
	             public void onClick(View v) {
	                 Intent myIntent = new Intent(v.getContext(), FantaskiRssActivity.class);
	                 startActivityForResult(myIntent, 0);
	             }
	         });

	        
	    }
	}